package com.chenss.dragonser.model;

import com.chenss.dragonser.base.BaseModel;

import java.util.List;

public class CouponsModel  extends BaseModel {


    /**
     * p : 1
     * psize : 10
     * storehouse_id : 1
     * store_coupon : [{"coupon_id":"1","coupon_name":"现金券","discount_amount":"5.00","mtime":"2018-11-20 17:52:26"},{"coupon_id":"1","coupon_name":"现金券","discount_amount":"5.00","mtime":"2018-10-13 15:37:50"},{"coupon_id":"1","coupon_name":"现金券","discount_amount":"5.00","mtime":"2018-09-29 17:56:55"},{"coupon_id":"4","coupon_name":"测试2","discount_amount":"10.00","mtime":"2018-07-18 15:44:03"},{"coupon_id":"5","coupon_name":"测试3","discount_amount":"10.00","mtime":"2018-07-18 15:44:03"},{"coupon_id":"6","coupon_name":"测试4","discount_amount":"10.00","mtime":"2018-07-18 15:44:03"},{"coupon_id":"3","coupon_name":"测试券","discount_amount":"1.00","mtime":"2018-07-18 15:44:02"}]
     * count : 7
     */

    private String p;
    private String psize;
    private String storehouse_id;
    private String count;
    private List<StoreCouponBean> store_coupon;

    public String getP() {
        return p;
    }

    public void setP(String p) {
        this.p = p;
    }

    public String getPsize() {
        return psize;
    }

    public void setPsize(String psize) {
        this.psize = psize;
    }

    public String getStorehouse_id() {
        return storehouse_id;
    }

    public void setStorehouse_id(String storehouse_id) {
        this.storehouse_id = storehouse_id;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public List<StoreCouponBean> getStore_coupon() {
        return store_coupon;
    }

    public void setStore_coupon(List<StoreCouponBean> store_coupon) {
        this.store_coupon = store_coupon;
    }

    public static class StoreCouponBean {
        /**
         * coupon_id : 1
         * coupon_name : 现金券
         * discount_amount : 5.00
         * mtime : 2018-11-20 17:52:26
         */

        private String coupon_id;
        private String coupon_name;
        private String discount_amount;
        private String mtime;

        public String getCoupon_id() {
            return coupon_id;
        }

        public void setCoupon_id(String coupon_id) {
            this.coupon_id = coupon_id;
        }

        public String getCoupon_name() {
            return coupon_name;
        }

        public void setCoupon_name(String coupon_name) {
            this.coupon_name = coupon_name;
        }

        public String getDiscount_amount() {
            return discount_amount;
        }

        public void setDiscount_amount(String discount_amount) {
            this.discount_amount = discount_amount;
        }

        public String getMtime() {
            return mtime;
        }

        public void setMtime(String mtime) {
            this.mtime = mtime;
        }
    }
}
